/**
 * Created by PhpStorm.
 * User: ZT
 * Date: 2020/6/15 0015
 * Time: 17:36
 **/
<link rel="stylesheet" href="/statics/css/public/public.css">
<link rel="stylesheet" href="/statics/css/style.css">
<div class="blog-list">
    <h2 class="public-title"><?=$name?></h2>
<?php foreach ($data['rows'] as $key=>$item):?>
    <div class="item blog-5">
        <div class="media">
            <a href="" class="post-thumb"><span class="classify"><?=$item['cate_name']?></span>
                <img class="img-responsive" src="<?=$item['cover_image']?>" alt="image" onerror="this.src='/statics/images/245X138.jpg'"></a>
            <div class="media-body">
                <h3 class="title mb-1"><a href="<?=$item['link']?>" target="_blank"><?=$item['title']?></a></h3>
                <div class="meta mb-1"><span class="date"><?=$item['created_at']?></span><span class="comment"><!--<a href="#">8 comments</a>--></span></div>
                <div class="intro"><?=$item['summary']?></div>
                <a class="more-link" href="<?=$item['link']?>" target="_blank">Read more →</a>
            </div><!--//media-body-->
        </div><!--//media-->
    </div>
<?php endforeach;?>
<?=$this->render("//layouts/_page",['page'=>$page,'urlLeft'=>$url,'urlRight'=>'','total'=>$data['total'],'pageSize'=>$pageSize]);?>
</div>